﻿.header_r {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.search-container {
    width: 100%;
    max-width: 400px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* 搜索表单样式 */
.search-form {
    display: flex;
    position: relative;
    width: 100%;
    margin-bottom: 8px;
}

.search-input {
    flex: 1;
    height: 40px;
    padding: 8px 16px;
    padding-right: 50px;
    /* 为按钮留出空间 */
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.search-input:focus {
    border-color: #1a73e8;
    box-shadow: 0 2px 8px rgba(26, 115, 232, 0.2);
}

.search-button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 50px;
    background: #1a73e8;
    border: none;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.search-button:hover {
    background-color: #0d62d9;
}

.search-icon {
    fill: white;
}

/* 搜索建议样式 */
.search-suggestions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-size: 12px;
    color: #666;
    margin-top: 8px;
}

.suggestion-title {
    margin-right: 8px;
    font-weight: 500;
}

.suggestion-tag {
    display: inline-block;
    padding: 4px 10px;
    margin: 0 6px 6px 0;
    background-color: #f5f5f5;
    border-radius: 12px;
    color: #555;
    text-decoration: none;
    transition: all 0.2s ease;
}

.suggestion-tag:hover {
    background-color: #e0e0e0;
    color: #333;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .search-container {
        max-width: 100%;
    }

    .search-suggestions {
        display: none;
        /* 在小屏幕上隐藏搜索建议 */
    }
}
.yqlj{
    display: flex;
}
.yqlj .link-item{
    margin-left: 15px;
}
.yqlj .link-item a{
   font-size: 16px;
}